package com.sc.nft.service;

import com.sc.nft.entity.dto.GasConsumeDTO;
import com.sc.nft.entity.vo.OrderGasVO;
import com.sc.nft.enums.GasConsumeTypeEnum;
import com.sc.nft.enums.OrderGasTypeEnum;
import com.sc.nft.enums.WalletDetailTypeEnum;
import com.sc.nft.exception.GlobalException;

import java.math.BigDecimal;

/**
 * @author 刘国航
 * @desc
 * @since 2024/10/21 11:18
 */
public interface OrderGasService {

    /**
     * 更新上链费分红池
     */
    void refreshOrderGasPool();

    /**
     * 发放上链费分红
     */
    void rewardsOrderGas();

    /**
     * 获取上链费分红池
     *
     * @return
     */
    OrderGasVO getGas();
    
    
    /**
     * 上链费消耗
     */
    void gasConsume(GasConsumeDTO gasConsume) ;
}
